package com.mmfq.invest.service.impl;

import com.mmfq.invest.dao.entity.DictData;
import com.mmfq.invest.dao.entity.DictDataExample;
import com.mmfq.invest.dao.mapper.DictDataMapper;
import com.mmfq.invest.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TestServiceImpl implements TestService {

    @Autowired
    private DictDataMapper dictDataMapper;

    @Override
    public void test() {
        List<DictData> dictData = dictDataMapper.selectByExample(new DictDataExample());
        System.out.println(dictData.size());
    }
}
